﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" AutoEventWireup="true" CodeFile="CandidateAccrediationDetails.aspx.cs" Inherits="home_CandidateAccrediationDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
       <style>
        .maintitle {
            font-size: large;
            font-weight: bold;
        }

        .auto-style7 {
            height: 17px;
            width: 65%;
        }
        .auto-style8 {
            border-style: solid;
            border-width: 1px;
            padding: 1px 4px;
            width: 115px;
            font-weight: normal;
        }
        .auto-style11 {
            font-family: Arial;
            font-size: small;
        }
        .auto-style13 {
            width: 115px;
            font-weight: bold;
            border-style: solid;
            border-width: 1px;
            padding: 1px 4px;
            background-color: #000000;
            color: #FFFFCC;
        }
        .auto-style14 {
            border-style: solid;
            border-width: 1px;
            padding: 1px 4px;
        }
        .auto-style15 {
            font-family: Arial;
            font-size: large;
        }
        .auto-style16 {
            border-style: solid;
            border-width: 1px;
            padding: 1px 4px;
            width: 115px;
        }
        </style>
    <table style="width: 100%" id="TABLE2" cellspacing="1" cellpadding="1" border="0">
        <tbody>
           
            <tr>
                <td align="left" class="auto-style7" ><h2>&nbsp;Accreditation&nbsp; Completed Candidates</h2></td>
                <%--<td class="auto-style1">&nbsp;</td>--%>
                <td style="width: 54%; height: 17px"></td>
            </tr>
          
            
            <tr>    
                <td align="center" colspan="3" style="height: 30px; text-align: center">
                    <%--<asp:Button ID="Button9" runat="server" SkinID="buttonSkin" Text="Approve" />--%>
                    <table width="100%" border="0" >
                        <tr style="vertical-align:top">
                            <td align="right" style="width:15%">Region </td>
                            <td style="width:1%">&nbsp;&nbsp;:&nbsp;&nbsp;</td>
                            <td align="left" style="width:10%"> <asp:DropDownList ID="ddlRegionSelect" Width="200px" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlRegionSelect_SelectedIndexChanged" ></asp:DropDownList>&nbsp;</td>
                            
                           <td style="width:7%" align="right">Country&nbsp;</td>
                            <td style="width:1%">&nbsp;&nbsp;:&nbsp;&nbsp;</td>
                            <td style="width:10%" align="left"><asp:DropDownList Width="200px" runat="server" ID="ddlCountrySelect"></asp:DropDownList>&nbsp; </td>
                             <td align="left" style="width:51%">&nbsp;&nbsp;&nbsp;<asp:Button ID="btnSearch" OnClick="BtnSearch_OnClick" runat="server" 
                                                Text="Search" CausesValidation="false" Width="139px"></asp:Button>  &nbsp;&nbsp; </td>
                           
                          
                          
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp; <asp:RequiredFieldValidator ID="reqRegionType" Display="Dynamic" InitialValue="0" ForeColor="red" ControlToValidate="ddlRegionSelect" ValidationGroup="NextValidation" runat="server" ErrorMessage="Select Region"></asp:RequiredFieldValidator></td>

                            <td colspan="4">&nbsp;</td></tr>
                       
                            

                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center">
                    <div class="grd_table"style="overflow-x: auto; width: 1000px;" >                   

                      <asp:GridView ID="gvStatusDashboard" runat="server" DataKeyNames="CandidateID"
                    PageSize="10" AllowPaging="true" Width="70%" AutoGenerateColumns="false" 
                     HeaderStyle-Height="30px" OnPageIndexChanging="gvStatusDashboard_PageIndexChanging">
                    <Columns>
                      <%--  <asp:TemplateField>
                            <HeaderTemplate>
                              &nbsp;<asp:CheckBox ID="checkAll" runat="server" Text="All" TextAlign="Right" onclick = "checkAll(this,'H');" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox type="checkbox" runat="server" ID="chkApproveSD" EnableViewState="true" onclick = "checkAll(this,'I');" />
                                <%--<input type="checkbox" runat="server"  id="chkIsActive"  enableviewstate="true" />--%>
                           <%-- </ItemTemplate>
                            <ItemStyle Width="5%" />
                        </asp:TemplateField>--%>
                        <asp:BoundField DataField="StatusID" HeaderText="StatusID" Visible="false" InsertVisible="true">
                            <ItemStyle HorizontalAlign="Left" Width="0%" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>

                        <asp:BoundField DataField="CandidateID" HeaderText="Candidate" Visible="false" InsertVisible="true">
                            <ItemStyle HorizontalAlign="Left" Width="0%" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="RegistrationNo" HeaderText="&nbsp;Registration No">
                            <ItemStyle HorizontalAlign="Left" Width="15%" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CandidateName" HeaderText="&nbsp;Candidate Name">
                            <ItemStyle Width="20%" HorizontalAlign="Left" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                            <asp:BoundField DataField="CountryName" HeaderText="&nbsp;Country">
                                <ItemStyle Width="15%" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                       <%-- <asp:BoundField DataField="CompanyName" HeaderText="&nbsp;&nbsp;MR Company Name">
                            <ItemStyle Width="20%" HorizontalAlign="Left" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>--%>
                      <%--  <asp:HyperLinkField DataNavigateUrlFields="CandidateID" DataNavigateUrlFormatString="~/home/CandidateDetailsReg.aspx?CandidateID={0}"
                            HeaderText="&nbsp;View" Text="Details" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="left" />--%>
                       
                       <asp:TemplateField ItemStyle-Width="10%" AccessibleHeaderText="View">
                                    <ItemTemplate>
                                        <asp:HyperLink runat="server"
                                            NavigateUrl='<%# GetViewtUrl(Eval("CandidateID"))%>'
                                            Text="Details"></asp:HyperLink>
                                        <%--<asp:HyperLinkField DataNavigateUrlFields="CandidateID" DataNavigateUrlFormatString="~/home/CandidateDetailsReg.aspx?CandidateID={0}"
                            HeaderText="&nbsp;&nbsp;View" Text="Details" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="left" />--%>
                                    </ItemTemplate>
                           <ItemStyle HorizontalAlign="Left"/>
                                </asp:TemplateField>
                       <%-- <asp:TemplateField ItemStyle-Width="15%">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="HyperLink1" runat="server"
                                            NavigateUrl='<%# GetReviewUrl(Eval("CandidateID"),Eval("BRIEFID"),Eval("CandidateAccType"),Eval("StatusID"))%>' 
                                            text="Review Detail" ></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>--%>
                        <%--<asp:TemplateField ItemStyle-Width="15%" AccessibleHeaderText="Review">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="HyperLink2" runat="server" 
                                            NavigateUrl='<%# GetReviewUrlRD(Eval("CandidateID"),Eval("BRIEFID"),Eval("CandidateAccType"),Eval("StatusID"))%>' 
                                            text="Review"></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>--%>
                          <asp:TemplateField ItemStyle-Width="10%" AccessibleHeaderText="Review">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="HyperLink3" runat="server"
                                            NavigateUrl='<%# GetCertificateUrl(Eval("CandidateID"))%>' 
                                            Text="Certificate"></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#E2DED6" ForeColor="blue" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#CCCCCC" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <emptydatarowstyle forecolor="Red" HorizontalAlign="Center" BorderStyle="None" BorderWidth="0" />
                      <emptydatatemplate>
                           No Candidate Available.
                    </emptydatatemplate> 
                </asp:GridView></div>
                </td>
            </tr>
        </tbody>
    </table>

</asp:Content>

